package com.weixing.mall.provider.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.weixing.mall.provider.model.domain.CategoryParam;
import com.weixing.mall.provider.model.dto.CategoryParamQuery;
import com.weixing.mall.provider.model.vo.CategoryParamVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 商品模块-商品类目参数关联表 Mapper 接口
 * </p>
 *
 * @author Small
 * @since 2019-11-20
 */
public interface CategoryParamMapper extends BaseMapper<CategoryParam> {

    /**
     * @Description 条件查询商品类目 <br/>
     * @author gjq
     * @date 2019/8/6 16:52
     * @param categoryParamQuery
     * @return java.util.List<com.weixing.mall.provider.model.vo.CategoryParamVo>
     */
    List<CategoryParamVo> selectList(@Param("qs")CategoryParamQuery categoryParamQuery);

    List<CategoryParam> selectByParamId(@Param("paramId")Long paramId);
}